package com.ruoyi.zhgd.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.zhgd.domain.NLaboratoryMechanicsWDetail;
import com.ruoyi.zhgd.domain.bo.NLaboratoryMechanicsWDetailBo;
import com.ruoyi.zhgd.domain.vo.NLaboratoryMechanicsWDetailVo;
import com.ruoyi.common.core.mapper.BaseMapperPlus;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 万能机详情表信息(1,2,4标)Mapper接口
 *
 * @author tll
 * @date 2023-09-15
 */
public interface NLaboratoryMechanicsWDetailMapper extends BaseMapperPlus<NLaboratoryMechanicsWDetailMapper, NLaboratoryMechanicsWDetail, NLaboratoryMechanicsWDetailVo> {

    /**
     * 万能机设备详情表信息(1,2,4标)分页
     * @param build
     * @param bo
     * @return
     */
    Page<NLaboratoryMechanicsWDetailVo> page(Page<Object> build, @Param("bo") NLaboratoryMechanicsWDetailBo bo);

    /**
     * 根据id查询所属单位信息
     * @param id
     * @return
     */
    String getDeptById(@Param("id") Long id);

    List<NLaboratoryMechanicsWDetail> selectWDetail(Integer id);
}
